package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @Desciption:test
 * @Create by:金木yan
 * @Date: 2021/12/10 20:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul_questionnaire")
public class Questionnaire implements Serializable {
    private ObjectId id; //问卷id
    private String name; //问卷名称
    private String cover; //问卷封面
    private String level; //级别(初级,中级,高级)
    private Integer star;  //星别(例如：2颗星，3颗星，5颗星)
}
